package edu.rpi.tw.pml.browsing.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("facetedSearch")
public interface FacetSearchService extends RemoteService{
	
	/*
	 * Get all instances from remote SPARQL endpoint.
	 */
	String getAllInstances();
	
	/*
	 * Get all values for a given facet.
	 * @param String facetName: name of facet
	 */
	String getValuesByFacetName(String facetName);
	
	/*
	 * Retrieve all facets.
	 */
	String getAllFacets();
	
	/*
	 * Get all types.
	 */
	String getAllConcepts();

	/*
	 * Get all instances from remote SPARQL endpoint.
	 */
	String getInstances(ArrayList<String> conceptList);
}
